package com.siyougame.business.dal.dataobject.user;

import lombok.*;
import java.util.*;
import com.baomidou.mybatisplus.annotation.*;
import com.siyougame.mybatis.mybatis.core.dataobject.BaseDO;

/**
 * 微信用户 DO
 *
 * @author ${table.author}
 */
@TableName("wx_user")
@KeySequence("wx_user_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxUserDO extends BaseDO {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String thirdUserId;
    private String thirdDepartmentId;
    private String thirdDepartment;
    /**
     * 姓名
     */
    private String name;
    /**
     * 登陆后的token
     */
    private String token;
    /**
     * token过期时间
     */
    private Date expiresTime;

    /**
     * 微信昵称
     */
    private String nickname;

    /**
     * 0关闭1开启
     */
    private Long status;
    /**
     * 备注
     */
    private String remark;
    /**
     * ${column.columnComment}
     */
    private String description;

    private String userInfoJson;
}
